home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch25 / ddoor.wrl < prev    next >
Text File  |  1996-09-23  |  524b  |  26 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material { diffuseColor 1.0 1.0 1.0 }
  8.         texture ImageTexture { url "panel.jpg" }
  9.     }
  10.     geometry IndexedFaceSet {
  11.         coord Coordinate {
  12.             point [
  13.                 -0.75 0.0 0.0,  0.75 0.0 0.0,
  14.                  0.75 2.5 0.0, -0.75 2.5 0.0,
  15.             ]
  16.         }
  17.         texCoord TextureCoordinate {
  18.             point [
  19.                 0.0 0.0,  1.0 0.0, 1.0 2.0,  0.0 2.0,
  20.             ]
  21.         }
  22.         coordIndex [ 0, 1, 2, 3 ]
  23.         solid FALSE
  24.     }
  25. }
  26.